import { combineReducers } from "redux";
import userReducer from "./userReducer";
import onlineToolesReducer from './onlineToolesReducer'
import storage from "redux-persist/lib/storage";
import { persistReducer } from "redux-persist";

const rootReducer = combineReducers({
    userReducer: persistReducer({ key: "userReducer", storage }, userReducer),

    onlineToolesReducer,
});

export default rootReducer;